package p.ithorns.example;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;
import p.ithorns.framework.feign.enhance.FeignController;
import p.ithorns.framework.feign.enhance.FeignSvc;

/**
 * HelloApi
 *
 * @author Ht.L
 * @date 2024-03-28 10:52
 * @since 1.0.0
 */
@FeignSvc
public interface HelloApi {

    @GetMapping("/param")
    public String param(@RequestParam("name") String name);

    @GetMapping("/path/{name}")
    public String path(@PathVariable("name") String name);

}